<!DOCTYPE HTML>
<html lang="en" >
    
    <head>
        
        <meta charset="UTF-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <title>字体 | Introduction</title>
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <meta name="description" content="">
        <meta name="generator" content="GitBook 2.6.7">
        
        
        <meta name="HandheldFriendly" content="true"/>
        <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
        <meta name="apple-mobile-web-app-capable" content="yes">
        <meta name="apple-mobile-web-app-status-bar-style" content="black">
        <link rel="apple-touch-icon-precomposed" sizes="152x152" href="../gitbook/images/apple-touch-icon-precomposed-152.png">
        <link rel="shortcut icon" href="../gitbook/images/favicon.ico" type="image/x-icon">
        
    <link rel="stylesheet" href="../gitbook/style.css">
    
        
        <link rel="stylesheet" href="../gitbook/plugins/gitbook-plugin-expandable-chapters/expandable-chapters.css">
        
    
        
        <link rel="stylesheet" href="../gitbook/plugins/gitbook-plugin-highlight/website.css">
        
    
        
        <link rel="stylesheet" href="../gitbook/plugins/gitbook-plugin-search/search.css">
        
    
        
        <link rel="stylesheet" href="../gitbook/plugins/gitbook-plugin-fontsettings/website.css">
        
    
    

        
    
    
    <link rel="next" href="../css/行高.html" />
    
    
    <link rel="prev" href="../css/盒子模型.html" />
    

        
    </head>
    <body>
        
        
    <div class="book"
        data-level="2.5"
        data-chapter-title="字体"
        data-filepath="css/字体.md"
        data-basepath=".."
        data-revision="Wed Apr 18 2018 23:41:29 GMT+0800 (中国标准时间)"
        data-innerlanguage="">
    

<div class="book-summary">
    <nav role="navigation">
        <ul class="summary">
            
            
            
            

            

            
    
        <li class="chapter " data-level="0" data-path="index.html">
            
                
                    <a href="../index.html">
                
                        <i class="fa fa-check"></i>
                        
                        Introduction
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="1" data-path="html.html">
            
            <span><b>1.</b> HTML</span>
            
            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.1" data-path="html/html的基本结构和内容.html">
            
                
                    <a href="../html/html的基本结构和内容.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.1.</b>
                        
                        HTML
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="1.2" data-path="html/a-标签.html">
            
                
                    <a href="../html/a-标签.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.2.</b>
                        
                        a-标签
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="1.3" data-path="html/img.html">
            
                
                    <a href="../html/img.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.3.</b>
                        
                        img-标签
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="1.4" data-path="html/biaoge.html">
            
                
                    <a href="../html/biaoge.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.4.</b>
                        
                        table-表格
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="1.5" data-path="html/列表与表单.html">
            
                
                    <a href="../html/列表与表单.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.5.</b>
                        
                        列表与表单
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="1.6" data-path="html/音频和视频-标签.html">
            
                
                    <a href="../html/音频和视频-标签.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.6.</b>
                        
                        音频与视频
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="1.7" data-path="html/iframe内嵌框架.html">
            
                
                    <a href="../html/iframe内嵌框架.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.7.</b>
                        
                        iframe内嵌框架
                    </a>
            
            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="2" data-path="CSS.html">
            
            <span><b>2.</b> CSS</span>
            
            
            <ul class="articles">
                
    
        <li class="chapter " data-level="2.1" data-path="css/CSS语法.html">
            
                
                    <a href="../css/CSS语法.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.1.</b>
                        
                        CSS基本语法
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.2" data-path="css/选择器.html">
            
                
                    <a href="../css/选择器.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.2.</b>
                        
                        选择器
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.3" data-path="css/伪类.html">
            
                
                    <a href="../css/伪类.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.3.</b>
                        
                        伪类
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.4" data-path="css/盒子模型.html">
            
                
                    <a href="../css/盒子模型.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.4.</b>
                        
                        盒子模型
                    </a>
            
            
        </li>
    
        <li class="chapter active" data-level="2.5" data-path="css/字体.html">
            
                
                    <a href="../css/字体.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.5.</b>
                        
                        字体
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.6" data-path="css/行高.html">
            
                
                    <a href="../css/行高.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.6.</b>
                        
                        行高
                    </a>
            
            
        </li>
    

            </ul>
            
        </li>
    


            
            <li class="divider"></li>
            <li>
                <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
                    Published with GitBook
                </a>
            </li>
            
        </ul>
    </nav>
</div>

    <div class="book-body">
        <div class="body-inner">
            <div class="book-header" role="navigation">
    <!-- Actions Left -->
    

    <!-- Title -->
    <h1>
        <i class="fa fa-circle-o-notch fa-spin"></i>
        <a href="../" >Introduction</a>
    </h1>
</div>

            <div class="page-wrapper" tabindex="-1" role="main">
                <div class="page-inner">
                
                
                    <section class="normal" id="section-">
                    
                        <p><img src="../img/123.png" alt="&#x56FE;&#x7247;"></p>
<h1 id="welcome-to-use-my-xtnotebook">Welcome to use My XT-Notebook</h1>
<h2 id="&#x6837;&#x5F0F;&#x5B57;&#x4F53;">&#x6837;&#x5F0F;-&#x5B57;&#x4F53;</h2>
<h3 id="1&#x57FA;&#x672C;&#x5C5E;&#x6027;">1.&#x57FA;&#x672C;&#x5C5E;&#x6027;</h3>
<table>
<thead>
<tr>
<th style="text-align:center">&#x7C7B;</th>
<th style="text-align:center">&#x5C5E;&#x6027;</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:center">font-weigh</td>
<td style="text-align:center"></td>
</tr>
<tr>
<td style="text-align:center">&#x666E;&#x901A;</td>
<td style="text-align:center">normal         400</td>
</tr>
<tr>
<td style="text-align:center">&#x52A0;&#x7C97;</td>
<td style="text-align:center">bold         700</td>
</tr>
<tr>
<td style="text-align:center">&#x6BD4;&#x7236;&#x4EB2;&#x5B57;&#x4F53;&#x66F4;&#x7C97;</td>
<td style="text-align:center">bolder         400 700 900</td>
</tr>
<tr>
<td style="text-align:center">&#x6BD4;&#x7236;&#x4EB2;&#x5B57;&#x4F53;&#x66F4;&#x7EC6;</td>
<td style="text-align:center">lighter     100 400 700</td>
</tr>
<tr>
<td style="text-align:center">font-style: italic</td>
<td style="text-align:center">&#x5B57;&#x4F53;&#x503E;&#x659C;,&#x666E;&#x901A;&#x5B57;&#x4F53;&#x5E93;&#x6709;&#x81EA;&#x5E26;&#x7684;&#x503E;&#x659C;&#x4F53;&#x7684;&#x65F6;&#x5019;&#x7528;italic&#xFF0C;&#x5982;&#x679C;&#x6CA1;&#x6709;&#x624D;&#x7528;oblique&#x4EBA;&#x4E3A;&#x503E;&#x659C;</td>
</tr>
<tr>
<td style="text-align:center">font-variant: small-caps</td>
<td style="text-align:center">&#x5C06;&#x5C0F;&#x5199;&#x5B57;&#x6BCD;&#x8F6C;&#x5316;&#x4E3A;&#x5927;&#x5199;&#xFF0C;&#x5E76;&#x4E14;&#x5C06;&#x8F6C;&#x5316;&#x7684;&#x5B57;&#x6BCD;&#x7F29;&#x5C0F;</td>
</tr>
</tbody>
</table>
<h3 id="2&#x7ED3;&#x6784;">2.&#x7ED3;&#x6784;</h3>
<pre><code>&lt;html&gt;
    &lt;head&gt;
        &lt;meta charset=&quot;UTF-8&quot;&gt;
        &lt;title&gt;&#x5B57;&#x4F53;&lt;/title&gt;
        &lt;link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; href=&quot;css/iconfont.css&quot;/&gt;
        &lt;!--
            &#x7EBF;&#x4E0A;&#x94FE;&#x63A5;
                &#x534F;&#x8BAE;://&#x4E8C;&#x7EA7;&#x57DF;&#x540D;&#xFF0C;&#x4E00;&#x7EA7;&#x57DF;&#x540D;/&#x76EE;&#x5F55;/&#x6587;&#x4EF6;

                &#x534F;&#x8BAE;&#x7701;&#x7565;&#x4E0D;&#x5199;&#xFF0C;&#x6839;&#x636E;&#x672C;&#x9875;&#x9762;&#x7684;&#x670D;&#x52A1;&#x5668;&#x6539;&#x53D8;&#xFF08;http&#x6216;https&#xFF09;

                &#x5E73;&#x65F6;&#x5728;&#x672C;&#x5730;&#x6253;&#x5F00;&#x65F6;&#x6CA1;&#x6709;&#x5F00;&#x542F;&#x672C;&#x5730;&#x670D;&#x52A1;&#x5668;&#xFF0C;file&#xFF1A;&#x53EA;&#x662F;&#x8868;&#x793A;&#x5728;&#x672C;&#x5730;&#x786C;&#x76D8;&#x4E0B;&#x6253;&#x5F00;&#x6587;&#x4EF6;
        --&gt;

        &lt;link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; href=&quot;http://at.alicdn.com/t/font_633846_m2cnctdyx9jdobt9.css&quot;/&gt;
        &lt;style type=&quot;text/css&quot;&gt;
            *{
                margin: 0;
                padding:0;
            }
            body{
                font-weight: 400px;
            }
            p{
                /* &#x5B57;&#x4F53;&#x7684;&#x5927;&#x5C0F; */
                font-size:20px;
                /* &#x5B57;&#x4F53;&#x7C97;&#x7EC6;        
                         &#x666E;&#x901A;                    normal         400
                         &#x52A0;&#x7C97;                     bold         700    

                         &#x6BD4;&#x7236;&#x4EB2;&#x5B57;&#x4F53;&#x66F4;&#x7C97;        bolder         400 700 900
                         &#x6BD4;&#x7236;&#x4EB2;&#x5B57;&#x4F53;&#x66F4;&#x7EC6;        lighter     100 400 700
                 */
                font-weight:normal;

                /*     &#x5B57;&#x4F53;&#x503E;&#x659C;
                       &#x666E;&#x901A;&#x5B57;&#x4F53;&#x5E93;&#x6709;&#x81EA;&#x5E26;&#x7684;&#x503E;&#x659C;&#x4F53;&#x7684;&#x65F6;&#x5019;&#x7528;italic&#xFF0C;&#x5982;&#x679C;&#x6CA1;&#x6709;&#x624D;&#x7528;oblique&#x4EBA;&#x4E3A;&#x503E;&#x659C;
                 *  */
                font-style: italic;
                /* &#x5C06;&#x5C0F;&#x5199;&#x5B57;&#x6BCD;&#x8F6C;&#x5316;&#x4E3A;&#x5927;&#x5199;&#xFF0C;&#x5E76;&#x4E14;&#x5C06;&#x8F6C;&#x5316;&#x7684;&#x5B57;&#x6BCD;&#x7F29;&#x5C0F; */
                font-variant: small-caps;

            }
            .icon-anonymity{
                color:red;
                font-size: 30px;
            }
            .icon-qie{
                font-size: 30px;
            }
            .icon-milu{
                font-size: 30px;
            }
        &lt;/style&gt;
    &lt;/head&gt;
    &lt;body&gt;

        &lt;p&gt;&#x5B57;&#x4F53;ABC &#x5B57;&#x4F53;abc&lt;/p&gt;

        &lt;i class=&quot;iconfont icon-anonymity&quot;&gt;&lt;/i&gt;
        &lt;i class=&quot;iconfont icon-qie&quot;&gt;&lt;/i&gt;
        &lt;i class=&quot;iconfont icon-milu&quot;&gt;&lt;/i&gt;
        &lt;img src=&quot;img/&#x53D8;&#x8272;&#x9F99;.png&quot; width=&quot;30px&quot;/&gt;

    &lt;/body&gt;
&lt;/html&gt;
</code></pre><h2 id="&#x5B57;&#x4F53;&#x6548;&#x679C;">&#x5B57;&#x4F53;&#x6548;&#x679C;</h2>
<h3 id="1&#x57FA;&#x672C;&#x5C5E;&#x6027;">1.&#x57FA;&#x672C;&#x5C5E;&#x6027;</h3>
<p>|&#x7C7B;|&#x5C5E;&#x6027;||
|text-decoration|||
||underline|&#x4E0B;&#x5212;&#x7EBF;|
||overline|&#x4E0A;&#x5212;&#x7EBF;|
||line-through|&#x5220;&#x9664;&#x7EBF;|
||none|&#x4E0D;&#x9700;&#x8981;|
|letter-spacing|&#x5B57;&#x95F4;&#x8DDD;||
|text-shadow|&#x6587;&#x5B57;&#x9634;&#x5F71; x&#x5750;&#x6807; y&#x5750;&#x6807; &#x6A21;&#x7CCA;&#x5EA6; &#x989C;&#x8272;|&#x591A;&#x4E2A;&#x9634;&#x5F71;&#x53E0;&#x52A0;&#x7528;&#x9017;&#x53F7;&#x9694;&#x5F00;|
|box-shadow|x&#x5750;&#x6807; y&#x5750;&#x6807; &#x6A21;&#x7CCA;&#x5EA6; &#x9634;&#x5F71;&#x5927;&#x5C0F;&#xFF08;&#x6B63;&#x6570;&#x4EE3;&#x8868;&#x53D8;&#x5927;&#xFF0C;&#x8D1F;&#x6570;&#x4EE3;&#x8868;&#x53D8;&#x5C0F;&#xFF09; &#x989C;&#x8272;|inset|</p>
<h3 id="2&#x7ED3;&#x6784;">2.&#x7ED3;&#x6784;</h3>
<pre><code>&lt;html&gt;
    &lt;head&gt;
        &lt;meta charset=&quot;UTF-8&quot;&gt;
        &lt;title&gt;&#x5B57;&#x4F53;&#x6548;&#x679C;&lt;/title&gt;
        &lt;style type=&quot;text/css&quot;&gt;


            a{
                /*
                     &#x6587;&#x5B57;&#x6548;&#x679C;
                         underline         &#x4E0B;&#x5212;&#x7EBF;
                         overline         &#x4E0A;&#x5212;&#x7EBF;
                         line-through     &#x5220;&#x9664;&#x7EBF;
                         none             &#x4E0D;&#x9700;&#x8981;
                 * */
                /*text-decoration: line-through;*/
                /*
                     &#x5B57;&#x95F4;&#x8DDD;

                 * */
                letter-spacing: 4px;
                /* 
                      &#x6587;&#x5B57;&#x9634;&#x5F71;
                          x&#x5750;&#x6807;
                          y&#x5750;&#x6807;
                          &#x6A21;&#x7CCA;&#x5EA6;
                          &#x989C;&#x8272; 
                 */
                text-shadow: 5px 5px 5px black;
                color: red;
                font-size: 50px;

            }
            div{
                margin: 100px;
                width: 300px;
                height: 300px;
                background: rgba(0,255,0,.5);
                color: white;
                text-align: center;
                line-height: 100px;

                /* &#x591A;&#x4E2A;&#x9634;&#x5F71;&#x53E0;&#x52A0;&#x7528;&#x9017;&#x53F7;&#x9694;&#x5F00; */
                text-shadow: 1px 1px 20px white,-1px -1px 20px white;

                /* 
                      &#x76D2;&#x5B50;&#x9634;&#x5F71;
                          &#x662F;&#x5426;&#x4F7F;&#x7528;&#x5185;&#x4FA7;&#x9634;&#x5F71;        inset
                          x&#x5750;&#x6807;
                          y&#x5750;&#x6807;
                          &#x6A21;&#x7CCA;&#x5EA6;
                          &#x9634;&#x5F71;&#x5927;&#x5C0F;        &#x6B63;&#x6570;&#x4EE3;&#x8868;&#x53D8;&#x5927;&#xFF0C;&#x8D1F;&#x6570;&#x4EE3;&#x8868;&#x53D8;&#x5C0F;

                          &#x989C;&#x8272; 
                 */

                box-shadow:inset 0px 0px 0px 0px gray;
                transition: all 1s;

                /*
                     opacity     &#x5C06;&#x5BB9;&#x5668;&#x6574;&#x4F53;&#x900F;&#x660E;&#x53D6;&#x503C;&#x8303;&#x56F4;0~1

                 * */

            }
            div:hover{
                box-shadow: 5px 5px 13px 5px gray;
                transform:rotate(45deg);
            }
            /*
                 &#x989C;&#x8272;
                     1.&#x989C;&#x8272;&#x540D;&#x79F0;
                     2.16&#x8FDB;&#x5236;&#x65B9;&#x5F0F;         #000000 &#x7F29;&#x5199;#000
                     3.RGB(0,255,0)
                     4.RGBA(0,255,0,.5)    Alpha&#x900F;&#x660E;&#x5EA6;0~1


             */

        &lt;/style&gt;
    &lt;/head&gt;
    &lt;body&gt;
        &lt;a href=&quot;&quot;&gt;&#x94FE;&#x63A5;&lt;/a&gt;
        &lt;div&gt;
            &#x53D1;&#x5149;&#x7684;
        &lt;/div&gt;
    &lt;/body&gt;
&lt;/html&gt;
</code></pre>
                    
                    </section>
                
                
                </div>
            </div>
        </div>

        
        <a href="../css/盒子模型.html" class="navigation navigation-prev " aria-label="Previous page: 盒子模型"><i class="fa fa-angle-left"></i></a>
        
        
        <a href="../css/行高.html" class="navigation navigation-next " aria-label="Next page: 行高"><i class="fa fa-angle-right"></i></a>
        
    </div>
</div>

        
<script src="../gitbook/app.js"></script>

    
    <script src="../gitbook/plugins/gitbook-plugin-expandable-chapters/expandable-chapters.js"></script>
    

    
    <script src="../gitbook/plugins/gitbook-plugin-search/lunr.min.js"></script>
    

    
    <script src="../gitbook/plugins/gitbook-plugin-search/search.js"></script>
    

    
    <script src="../gitbook/plugins/gitbook-plugin-sharing/buttons.js"></script>
    

    
    <script src="../gitbook/plugins/gitbook-plugin-fontsettings/buttons.js"></script>
    

<script>
require(["gitbook"], function(gitbook) {
    var config = {"expandable-chapters":{},"highlight":{},"search":{"maxIndexSize":1000000},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2}};
    gitbook.start(config);
});
</script>

        
    </body>
    
</html>
